<?php
/******************************
@Filename	:shownews.php
@Version	:0.0.1
@Author		:xuhongquan
@Update		:2010-4-15
@Content	:php by Editplus
*******************************/
header("Content-type: text/html; charset=utf-8"); 
define('NOROBOT', TRUE);
require_once './include/common.inc.php';
include_once './include/dtxx.inc.php';
require_once("include/page.php");
$buid=isset($_GET['id'])?intval($_GET['id']):0;

$news=products($buid);
if(empty($news)){
	include template('error');
}else{
	$new['buname']=$news['list']['title'];
	$content=$news['list']['content'];
	include template('product');
}




?>